package po;

public class doPrint {


    public static boolean doPoint(String color, int papers) {
        boolean isSuccess = false;

        System.out.println("打印机开始启动....");
        Printer printer = new Printer();
        loadCartridge loadCartridge = new loadCartridge();
        if (Printer.loadPaper(papers) && po.loadCartridge.loadCartridge(color)) {
            System.out.println("开始打印");
            isSuccess = true;
        } else {
            System.out.println("请装载纸张或墨盒");
            isSuccess = false;
        }

        return isSuccess;
    }


}
